package com.qf.java2201.securitydemo1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.java2201.securitydemo1.pojo.Menu;
import com.qf.java2201.securitydemo1.pojo.Role;
import com.qf.java2201.securitydemo1.pojo.Users;

import java.util.List;

/**
 * @date 2022/5/16
 * @desc
 */
public interface UsersMapper extends BaseMapper<Users> {

    List<Role> selectRoleByUserId(Integer id);

    List<Menu> selectMenuByUserId(Integer id);
}
